package com.tower.spring.gulimall.search.vo;

import lombok.Data;

import java.util.List;

@Data
public class SearchParam {
    //全文匹配
    private String keyword;
    private Long catalog3Id;

    /**
     * sort = saleCount_asc/desc
     * sort = skuPrice_asc/desc
     * sort = hasScore_asc/desc
     *
     */
    private String sort;

    private Integer hasStock;

    /**
     * 价格区间
     */
    private String skuPrice;

    /**
     * 品牌id 可以多选
     */
    private List<Long> brandId;

    /**
     * 按照属性进行筛选
     */
    private List<String> attrs;

    /**
     * 页码
     */
    private Integer pageNum = 1;

    /**
     * 原生所有查询属性
     */
    private String _queryString;


}
